#include "types.h"
#include "user.h"

#define PG_SIZE 4096


int main(int argc, char *argv[])
{

  int i;
  
  int* p1 = (int*)malloc(PG_SIZE);
  memset(p1, 'a', PG_SIZE);

  int* p2 = (int*)malloc(PG_SIZE);
  memset(p2, 'b', PG_SIZE);
  

  for(i=0; i<20; i++) {
    p1[10] = 'c';
    p1[10] = 'c';
    p2[10] = 'c';
    p1[10] = 'c';
    p1[10] = 'c';
    sleep(50);
  }

  

  exit(); 
  return 0;
}
